# coding: utf-8
from django.conf.urls import url, include
from .views import getIndex, getSecret_list, getSecret, getMeet, CommentReply, SameQuestion
from .views import Report, JarInformation, SubSecret


urlpatterns = [
    # 树洞列表页
    url(r'^index.json', getIndex.as_view(), name="index"),
    # 秘密列表
    url(r'^secret_list.json', getSecret_list.as_view(), name="secret_list"),
    # 秘密
    url(r'^secret.json', getSecret.as_view(), name="secret"),
    # 随机获取秘密
    url(r'^allMeet.json', getMeet.as_view(), name=""),
    # 秘密评论&回复meet_list
    url(r'^commentReply.json', CommentReply.as_view(), name="comment_reply"),
    # 秘密点赞
    url(r'^sameQuestion.json', SameQuestion.as_view(), name="same_question"),
    # 秘密&评论举报
    url(r'^report.json', Report.as_view(), name="report"),
    # 秘密创建提示
    url(r'^JarInformation.json', JarInformation.as_view(), name="jar_information"),
    # 秘密创建
    url(r'^SubSecret.json', SubSecret.as_view(), name="sub_secret"),
    # url(r'^allMeet.json', getMeet.as_view(), name="meet_list"),
    # # 课程评论
    # url(r'^comments/(?P<course_id>\d+)/$', CommentsView.as_view(), name="course_comments"),
    # # 添加课程评论
    # url(r'^add_comments/$', AddCommentsView.as_view(), name="add_comment"),
    # #
    # url(r'^video/(?P<video_id>\d+)/$', VideoPlayView.as_view(), name="video_play"),

]
